package com.bdqn.t330.ch11.service;

import com.bdqn.t330.ch11.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {

    public SysUser loginBiz(SysUser sysUser);

    public List<SysUser> getUserList();

    public List<SysUser> getUserListPageBiz(Integer pageIndex, Integer pageSize, String userName);

    public Integer getUserListPageCount(String userName);

    int add(SysUser sysUser);

    public Integer deleteByIdBiz(Integer id);
}
